
#ifndef _MEMBER_BSPRING_H_
#define _MEMBER_BSPRING_H_

#include <BLayout>
#include <BSpring>

#define spring_member(spring)		((member_BSpring*)((BSpring*)spring)->_ptr)

namespace BWE
{
	class member_BSpring
	{
	public:
		member_BSpring(BSpring* spring);
		~member_BSpring();

		BSpring*		boss;
		BLayout*		layout;
		BRect			rect;
		BSize			hintSize;
		BSize			minSize;
		BSize			maxSize;
		BSizePolicy		sizePolicy;
	};
}

#endif